package com.holly.unit.deform.designer.model;

import lombok.Data;

/**
 * 类描述: 选项信息
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/7/22 14:10
 */
@Data
public class Options {

    // 是否隐藏，false显示，true隐藏
    private Boolean hidden;

    // 是否禁用
    private Boolean disabled;

    // 显示密码【用途登录页面输入密码框】
    private Boolean showPassword;

    // 是否必填
    private Boolean required;

    // 是否允许多选
    private boolean multiple;

    // 填值规则 Code
    private String fillRuleCode;

    private Object defaultValue;

    private String placeholder;

    private boolean defaultLogin;

    // 自定义返回字段 /* select-user | select-depart 组件 */
    private String customReturnField;



    /**校验相关字段*/
    private String requiredMessage;

    private String dataType;

    private Boolean dataTypeCheck;

    private String dataTypeMessage;

    private String pattern;

    private Boolean patternCheck;

    private String patternMessage;

    private Boolean validatorCheck;

    private String validator;
    /**校验相关字段*/
}
